#ifndef SALARIED_H
#define SALARIED_H
#include <string>
#include "Employee.h" 

class SalariedEmployee : public Employee 
{
public:
   SalariedEmployee( const string &, const string &, 
      const string &, int, int, int, double = 0.0 );
	virtual ~SalariedEmployee(){ } 
   void setWeeklySalary( double );
   double getWeeklySalary() const;
   virtual double earnings() const override;
   virtual void print() const override;
private:
   double weeklySalary;
};
#endif
